Precise UML Semantics Through Formal Metamodeling

نویسنده

  • Robert Geisler
چکیده

We present an object-oriented metamodeling methodology based on a formal metalanguage suited for the deenition of the semantics of the UML but also for the deenition of other languages. This methodology allows for the description of all relevant aspects of the entities of the metamodel. We are particularly interested in the description of dynamic semantics, because it has been neglected in common metamodeling approaches. The dynamic semantics is important for understanding the concepts provided by the UML (e.g. dynamic behavior of statecharts, or lifetime dependency of composite aggregation). We provide a dichotomy for the classiication of metaentities into intensional and extensional entities. Using our approach, the metamodel level as well as the model level are described. Two kinds of instantiation relations are identiied: inter-level instantiation and intra-level instantiation. The examination of behavior of intensional as well as extensional enities within a single approach may lead to an integration of process aspects of software engineering with the used modeling techniques. 1 Metamodels A metamodel is a model for the information that can be expressed during (software) modeling. Basically, a metamodel is a model of models. It consists of entities deening the model elements and therefore the modeling language. The main purpose of a metamodel is to relate these model elements. Diierent levels of abstractions can be identiied in software modeling. Between each level there exists an instantiation relationship, e. g. a concept of a level is an instance of a concept of its upper level. Usually, a four-level approach (i.e. Ode95]) is used: Data and Process Level: This level is the lowest level. The entities on this level are run-time objects, i.e. instances of classes and processes running on a concrete system. Model Level: The model level is an abstraction to the data and process level. On this level, we have diierent models describing the underlying physical system. Metamodel Level: The metamodel level describes the concepts which are used in the model level. Meta-Metamodel Level: This level deenes the language in which the metamodel is described. The UML metamodel is also based on a four-level approach. Its metalanguage consists of UML class diagrams deening the metaentities, and of the Object Constraint Language OCL97] used for the description of well-formedness constraints between the metaentities. 1 2 Structuring the Metamodel An important contribution of our approach is the distinction between intensional and extensional entities in one abstraction level. Intensional entities have a counterpart …

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Metamodeling Mathematics: A Precise and Visual Framework for Describing Semantics Domains of UML Models

As UML 2.0 is evolving into a family of languages with individually specified semantics, there is an increasing need for automated and provenly correct model transformations that (i) assure the integration of local views (different diagrams) of the system into a consistent global view, and, (ii) provide a well– founded mapping from UML models to different semantic domains (Petri nets, Kripke au...

متن کامل

A Formal Semantics of UML Statecharts by Model Transition Systems

UML Statecharts are well-known visual means to capture the dynamic behavior of reactive systems in the object-oriented design methodology. Since the UML standard only contains an informal description on how to execute such statemachines mathematically precise semantic frameworks are required for an automated analysis. The current paper presents a formal semantics for UML statecharts based on a ...

متن کامل

VPM: Mathematics of Metamodeling is Metamodeling Mathematics

As UML 2.0 is evolving into a family of languages with individually specified semantics, there is an increasing need for automated and provenly correct model transformations that (i) assure the integration of local views (different diagrams) of the system into a consistent global view, and, (ii) provide a well–founded mapping from UML models to different semantic domains (Petri nets, Kripke aut...

متن کامل

Formal Action Semantics for a UML Action Language

The abstract syntax and static semantics of UML, the widely-used generalpurpose graphical modeling language, have been standardized in a four-layer metamodeling framework. However UML’s dynamic semantics, such as UML Precise Action Semantics and the behaviors like activities, interactions and state machines, are only standardized in a natural language—English. It is commonly argued that such in...

متن کامل

Endogenous Metamodeling Semantics for Structural UML 2 Concepts

A lot of work has been done in order to put the Unified Modeling Language (UML) on a formal basis by translating concepts into various formal languages, e.g., set theory or graph transformation. While the abstract UML syntax is defined by using an endogenous approach, i. e., UML describes its abstract syntax using UML, this approach is rarely used for its semantics. This paper shows how to appl...

متن کامل

Analysis of UML Activities Using Dynamic Meta Modeling

Dynamic Meta Modeling (DMM) is a universal approach to defining semantics for languages syntactically grounded on meta models. DMM has been designed with the aim of getting highly understandable yet precise semantic models which in particular allow for a formal analysis. In this paper, we exemplify this by showing how DMM can be used to give a semantics to and define an associated analysis tech...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998